import Vue from 'vue'
import Router from 'vue-router'
import App from '../App'
const mainMenu = r => require.ensure([], () => r(require('../page/MainMenu.vue')), 'mainMenu');


Vue.use(Router)

export default [{
  path: '/',
  component: App, 
  children: [ 
  
    {
      path: '',
      name: 'mainMenu',
      redirect: '/mainMenu',
    },
    {
      path: '/mainMenu',
      component: mainMenu,
      name: 'mainMenu',
      meta: {
        deepth: 0.5,
        keepAlive: true 
      }
    },
  ]
}]
